<template>
  <el-dialog :title="log.title" :visible.sync="modShow" :before-close="cancel" width="30%">
    <template>
      <span>
        是否确定批量
        <span class="font-org f18">{{ log.msg }}</span>
      </span>
    </template>
    <span slot="footer" class="dialog-footer">
      <el-button @click="cancel">取 消</el-button>
      <el-button type="primary" @click="submit">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: ["modShow", "log", "logSubmit"],
  data() {
    return {};
  },
  computed: {
    show: function() {
      return this.modShow;
    }
  },
  methods: {
    requestCom(url, params) {},
    cancel() {
      this.$emit("update:modShow", false);
    },
    submit() {
      this.logSubmit();
      this.cancel();
    }
  }
};
</script>

<style>
</style>